package com.github.catvod.spider.merge;

import java.nio.charset.Charset;

/* loaded from: classes.dex */
public class H extends x {
    public static String h(byte[] bArr, Charset charset) {
        if (bArr == null) {
            return null;
        }
        return charset == null ? new String(bArr) : new String(bArr, charset);
    }
}
